JavaScript

A5.u.object.resolveget Method

Syntax

A5.u.object.resolve.get(object[,settings[,context[,arguments]]])

Arguments

objectobjectarrayfunction

The dynamic object.

settingsobject

The settings for the dynamic object.

onSyncCompletefunction

Function to call when a dynamic object is synchronously retrieved.

onBeforeAsyncfunction

Function to call when a dynamic object is going to be asynchronously retrieved.

onAsyncCompletefunction

Function to call when a dynamic object is asynchronously retrieved.

onCompletefunction

Function to call when a dynamic object is retrieved.

contextobject

The context with which to call all functions.

argumentsobject

The optional additional arguments with which to call all functions. If no arguments are defined, then the settings will be passed in as the additional argument.

Returns

objectanynull

The resulting dynamic object.

Description

Get an object that may be statically (a plain object or array) or dynamically (a function) defined. A dynamically defined object can be optionally asynchronous, with each request getting a unique ID that can be used in conjunction with A5.u.object.dynamic.set.

Discussion